package com.bgt.utils;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

public class HttpUtils {
	public static HttpServletRequest getRequest(){
		HttpServletRequest request=(HttpServletRequest)ServletActionContext.getRequest();
		return request;
	}
	public static HttpServletResponse getResponse(){
		HttpServletResponse rep=(HttpServletResponse)ServletActionContext.getResponse();
		return rep;
	}

}
